#include <iostream>



#ifndef DEBUG_LOG
#define DEBUG_LOG(msg) \
    std::cout << msg << " 文件:" << __FILE__ << " 行:" << __LINE__ << std::endl;
#endif


// 自定义异常类
class ContactException
{
private:
    std::string message;

public:
    ContactException(std::string str = "A problem") : message{str} {}
    std::string what() const { return message; }
};